import * as action from "./../action-type";

const baseAction = {
  setUserInfo(info) {
    return {
      type: action.SET_USER_INFO,
      info,
    };
  },

  deleUserInfo() {
    return {
      type: action.DEL_USER_INFO,
    };
  },
};

export default baseAction;
